package com.hzhr.extdevice.mapper.device;

import com.hzhr.extdevice.model.database.device.DevIotDevice;
import com.hzhr.extdevice.model.database.device.DevIotDeviceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DevIotDeviceMapper {
    int countByExample(DevIotDeviceExample example);

    int deleteByExample(DevIotDeviceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DevIotDevice record);

    int insertSelective(DevIotDevice record);

    List<DevIotDevice> selectByExample(DevIotDeviceExample example);

    DevIotDevice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DevIotDevice record, @Param("example") DevIotDeviceExample example);

    int updateByExample(@Param("record") DevIotDevice record, @Param("example") DevIotDeviceExample example);

    int updateByPrimaryKeySelective(DevIotDevice record);

    int updateByPrimaryKey(DevIotDevice record);
}